using System.Collections.Generic;
using Volo.Abp.Application.Dtos;

namespace ERP.WorkforceManage.Dtos
{
    /// <summary>
    /// 获取班组列表输入DTO
    /// </summary>
    public class GetTeamInputDto : PagedAndSortedResultRequestDto
    {
        /// <summary>
        /// 关键字搜索（班组编号、班组名称）
        /// </summary>
        public string Keyword { get; set; }

        /// <summary>
        /// 班组编号
        /// </summary>
        public string TeamNumber { get; set; }

        /// <summary>
        /// 班组名称
        /// </summary>
        public string TeamName { get; set; }

        /// <summary>
        /// 班组类型
        /// </summary>
        public string TeamType { get; set; }
    }

    /// <summary>
    /// 用户选择DTO
    /// </summary>
    public class UserSelectDto : EntityDto<int>
    {
        /// <summary>
        /// 用户名
        /// </summary>
        public string Username { get; set; }

        /// <summary>
        /// 昵称
        /// </summary>
        public string UserNickname { get; set; }

        /// <summary>
        /// 是否已选择
        /// </summary>
        public bool IsSelected { get; set; }
    }

    /// <summary>
    /// 获取用户选择列表输入DTO
    /// </summary>
    public class GetUserSelectInputDto : PagedAndSortedResultRequestDto
    {
        /// <summary>
        /// 关键字搜索（用户名、昵称）
        /// </summary>
        public string Keyword { get; set; }

        /// <summary>
        /// 已选择的用户ID列表
        /// </summary>
        public List<int> SelectedUserIds { get; set; } = new List<int>();
    }
} 